package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.AddressBookDto;
import com.sky.entity.AddressBook;


public interface AddressBookService extends IService<AddressBook> {
    // 新增地址
    void addAddressBook(AddressBookDto addressBookDto);

    // 查询默认地址
    AddressBook selectByIsDefault();

    // 修改默认地址
    void updateIsDefault(AddressBook addressBook);
}
